<?php
class ModulePrivilegeConst
{
    const DEFAULT_JSON_STRING   = '[]';
    const DEFAULT_BOOL_OF_FALSE = 0;
    const DEFAULT_BOOL_OF_TRUE  = 1;
    const SUPER_ADMIN_ROLE_ID   = 0;
    const NO_ROLE_ID            = -1;

    const MODULE_NAME = 'module_privilege';

    const ORM_NAME_PRIVILEGE_USER           = 'ModulePrivilegeUser';
    const ORM_NAME_PRIVILEGE_ROLE           = 'ModulePrivilegeRole';
    const ORM_NAME_PRIVILEGE                = 'ModulePrivilege';
    const ORM_NAME_PRIVILEGE_SESSION        = 'ModulePrivilegeSession';
    const ORM_NAME_PRIVILEGE_LOG            = 'ModulePrivilegeLog';

    const PASSWORD_SALT                     = '1q2w3e4r';
    const SESSION_SALT                      = '1q2w3e4r@4r3e2w1q';
    const SESSION_LIFE_TIME                 = 14400;

    const SESSION_ID                        = 'SESSION_KEY';
    const SESSION_ACTOR_ID                  = 'SESSION_ACTOR_ID';
}